package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 评论表查询对象
 */
public class ProductCommentQuery extends BaseQuery {

    public Date startAddTime; //起始添加时间
    public Date endAddTime; //结束添加时间
    public String content;//评论内容
    public Boolean enabled; //是否可用
    public Integer productId;//商品ID
    public Integer productItemId;//详细商品ID
    public Integer productOrderId;//订单ID
    public Integer comment;//评价结果（1好评、2中评、3差评）
    public Integer userId;//用户ID

    public ProductCommentQuery() {
    }

    public ProductCommentQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getProductOrderId() {
        return productOrderId;
    }

    public void setProductOrderId(Integer productOrderId) {
        this.productOrderId = productOrderId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public Integer getProductItemId() {
        return productItemId;
    }

    public void setProductItemId(Integer productItemId) {
        this.productItemId = productItemId;
    }
}